<div ng-controller="DistributorCtrl" ng-init="clearingdetailAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/distributor/clearingorder">{{'结算明细'| translate}}</a></li>
        <li>{{'List'|translate}}</li>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'订单编号'|translate}}</th>
                <th>{{'代理商信息'|translate}}</th>
                <th>{{'代理等级'|translate}}</th>
                <th>{{'买家信息'|translate}}</th>
                <th>{{'产品线'|translate}}</th>
                <th>{{'订单时间'|translate}}</th>
                <th>{{'订单商品'|translate}}</th>
                <th>{{'数量'|translate}}</th>
                <th>{{'应付'|translate}}</th>
                <th>{{'实付'|translate}}</th>
                <th>{{'返点比例'|translate}}</th>
                <th>{{'返点金额'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in clearing_detail_list" ng-show="clearing_detail_list.length>0">
                <td>{{list.order_id}}</td>
                <td>
                    <wxinfo ng-model="list.user_id" stye="1"></wxinfo>
                </td>
                <td>
                    <fxgrade-list ng-model="list.grade_id" stype="1"></fxgrade-list>
                </td>
                <td>
                    <wxinfo ng-model="list.member_id" stye="1"></wxinfo>
                </td>
                <td>
                    <fxproduct-list ng-model="list.product_id" stype="1"></fxproduct-list>
                </td>
                <td>{{list.order_time}}</td>
                <td>
                    <item-name item-id="list.item_id" sku-id="list.sku_id" type="list.type"></item-name>
                </td>
                <td>{{list.quantity}}</td>
                <td>{{list.total_fee}}</td>
                <td>{{list.payment}}</td>
                <td>{{list.proportion}}%</td>
                <td>{{list.return_money}}</td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getClearingDetailList(pageNo)"></pager>
    <!-- 分页end -->
</div>